﻿using System;
using System.Collections.Generic;
using Xoohoo.Models;
using Xoohoo.Models.InputModels;

namespace Xoohoo.Services
{
    public interface IUserGroupService
    {
        UserGroup GetItem(Guid userGroupID);
        UserGroup GetItem(string userGroupName);
        List<UserGroup> GetList(Guid? parentID=null);
        ModelResult Save(UserGroupInput userGroupInput);
        bool Remove(Guid userGroupID);
        bool Move(Guid userGroupID, MovingTarget target);
    }
}
